package com.iplant.mes.service.po.print;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.utils.general.CalendarTool;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

/**
 * 出厂试验表格行数据
 *
 * @author YouWang·Peng
 * 2024-1-5 15:57:47
 */
public class SFCFactoryTestItem {
    /**
     * 试验日期
     */
    public Calendar TestDate = CalendarTool.getBasicDate();
    /**
     * 电容编号
     */
    public String CapacitorNumber = "";
    /**
     * 测量值
     */
    public List<String> ValueList = new ArrayList<>();
    /**
     * 结论
     */
    public String CheckResult = "";

    public SFCFactoryTestItem() {
    }

    public SFCFactoryTestItem(Calendar testDate, String capacitorNumber, List<String> valueList, String checkResult) {
        TestDate = testDate;
        CapacitorNumber = capacitorNumber;
        ValueList = valueList;
        CheckResult = checkResult;
    }

    @JsonProperty("TestDate")
    public Calendar getTestDate() {
        return TestDate;
    }

    public void setTestDate(Calendar testDate) {
        TestDate = testDate;
    }

    @JsonProperty("CapacitorNumber")
    public String getCapacitorNumber() {
        return CapacitorNumber;
    }

    public void setCapacitorNumber(String capacitorNumber) {
        CapacitorNumber = capacitorNumber;
    }

    @JsonProperty("ValueList")
    public List<String> getValueList() {
        return ValueList;
    }

    public void setValueList(List<String> valueList) {
        ValueList = valueList;
    }

    @JsonProperty("CheckResult")
    public String getCheckResult() {
        return CheckResult;
    }

    public void setCheckResult(String checkResult) {
        CheckResult = checkResult;
    }
}
